package com.summer.data.dialect;

/**
 * @author 345480567@qq.com
 */
public class DatabaseProductID {

    private final String productName;

    private final int majorVersion;

    public DatabaseProductID(String productName, int majorVersion) {
        this.productName = productName.toUpperCase();
        this.majorVersion = majorVersion;
    }

    public String getProductName() {
        return productName.toUpperCase();
    }

    public int getMajorVersion() {
        return majorVersion;
    }
}
